﻿<controls:ChildWindow x:Class="RegOnline.Views.MessageWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           
           Title="Информация" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                      d:DesignHeight="120" d:DesignWidth="200" FontSize="12">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="40*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <TextBlock Name="Message" MinHeight="40" MaxHeight="1000" MinWidth="150" MaxWidth="300" Margin="3" TextWrapping="Wrap" />
        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center">
            <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" 
                    HorizontalAlignment="Right"  Grid.Row="1" Margin="3" FontSize="11" />
            <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Margin="3" 
                    Width="75" Height="23" HorizontalAlignment="Right"  Grid.Row="1" FontSize="11" />

        </StackPanel>
    </Grid>
</controls:ChildWindow>